# 导包
import requests
# 行
url = "http://47.108.206.100:8080/admin/login"
# 头
# 体
body = {
    "username":"admin",
    "password":"macro123"
}
# 发送请求
resp = requests.post(url,json=body)
# 查看响应结果
# 查看响应码
print(resp.status_code)
print(resp.json())
print(resp.json().get("message"))
print(resp.json()["message"])
print(resp.json().get("data").get("tokenHead"))
